package com.yizhi.util;

import java.io.Serializable;
import java.util.List;

public class PageResult implements Serializable {

    private long total; // 总记录数

    private List records; // 当前页数据集合
    
    public PageResult() {
    }
    
    public PageResult(List records, long total) {
        this.records = records;
        this.total = total;
    }
    
    public long getTotal() {
        return total;
    }
    
    public void setTotal(long total) {
        this.total = total;
    }
    
    public List getRecords() {
        return records;
    }
    
    public void setRecords(List records) {
        this.records = records;
    }
}